<tagLib name='html'/>
<div class='pageHeader'>
    <form action='__URL__/lookup' method='post' id='pagerForm' onsubmit='return dialogSearch(this, "dialog");'>
        <div class='searchBar'>
            <ul>
                <li><label>员工ID</label> <input type='text' name='staff_id' value='{$int_staff_id}' /></li>
                <li><label>姓名</label> <input type='text' name='staff_name' value='{$str_staff_name}' /></li>
                <li><label>身份证号</label> <input type='text' name='id_card' value='{$str_id_card}' /></li>
                <li><label>手机号码</label> <input type='text' name='mobile' value='{$str_mobile}' /></li>
                <li><label>籍贯</label> <input type='text' name='hometown' value='{$str_hometown}' /></li>
                <li class='two-col'>
                    <label>生日</label>
                    <span>
                       <input type='text' name='birthday[]' value='{$str_birthday_1}' class='date' datefmt='yyyy-MM-dd' readonly='true' />
                    </span>
                    <span class='info'> - </span>
                    <span>
                       <input type='text' name='birthday[]' value='{$str_birthday_2}' class='date' datefmt='yyyy-MM-dd' readonly='true' />
                    </span>
                </li>
                <li></li>
                <li><label>性别</label> <html:select options='arr_gender' selected='int_gender' first='{$str_select_first_txt}' name='gender' style='combox' /></li>
                <li><label>是否在职</label> <html:select options='arr_status["onwork"]' selected='int_is_on_work' first='{$str_select_first_txt}' name='is_on_work' style='combox' /></li>
                <li><label>状态</label> <html:select options='arr_status["default"]' selected='int_status' first='{$str_select_first_txt}' name='status' style='combox' /></li>
            </ul>

            <include file='$str_search_bar_lookup_html' />
        </div>

        <include file='$str_page_search_html' />
    </form>
</div>

<div class='pageContent'>
    <div class='panelBar'>
        <ul class='toolBar'>
            <li class='line'>line</li>
        </ul>
    </div>
    <table class='table' width='100%' layoutH='138'>
        <thead>
           <tr>
                <th width='22'><input type='checkbox' group='lookup' class='checkboxCtrl'></th>
                <th width='80'>员工ID</th>
                <th width='80'>姓名</th>
                <th width='50'>性别</th>
                <th width='100'>生日</th>
                <th width='50'>民族</th>
                <th width='50'>籍贯</th>
                <th width='100'>身份证号</th>
                <th width='100'>手机号码</th>
                <th width='200'>现居住地址</th>
                <th width='100'>紧急联系人</th>
                <th width='80'>是否在职</th>
                <th width='50'>操作者</th>
                <th width='50'>状态</th>
                <th width='100'>创建时间</th>
                <th width='100'>更新时间</th>
                <th width='80'>查找带回</th>
           </tr>
        </thead>
        <tbody>
        <foreach name='arr_info' item='sub'>
            <tr target='id' rel='{$sub.staff_id}'>
                <td><input type='checkbox' name='lookup' value="{ staff_id:'{$sub.staff_id}', staff_name:'{$sub.staff_name}'}" /></td>
                <td>{$sub.staff_id}</td>
                <td>{$sub.staff_name}</td>
                <td>{$sub.gender|call_action=get_field_info_txt,gender}</td>
                <td>{$sub.birthday}</td>
                <td>{$sub.nation}</td>
                <td>{$sub.hometown}</td>
                <td title='{$sub.id_card}' class='list_long_text'>{$sub.id_card}</td>
                <td>{$sub.mobile}</td>
                <td title='{$sub.address}' class='list_long_text'>{$sub.address}</td>
                <td>{$sub.emergency_contact}</td>
                <td>{$sub.is_on_work|get_status_txt=onwork}</td>
                <td>{$sub.user_id|get_user_name}</td>
                <td>{$sub.status|get_status_txt}</td>
                <td>{$sub.create_time|get_date}</td>
                <td>{$sub.update_time|get_date}</td>
                <td><a href="javascript:$.bringBack({ staff_id:'{$sub.staff_id}', staff_name:'{$sub.staff_name}'})" class='btnSelect'>选择</a></td>
            </tr>
        </foreach>
        </tbody>
    </table>

    <include file='$str_page_lookup_html' />
</div>